package com.biostime.qdingding.modules.qd.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.biostime.qdingding.common.utils.QrCodeUtils;
import com.biostime.qdingding.common.web.BaseController;

/**
 * 二维码Controller
 * @author king
 * @version 2015-11-05
 */
@Controller
@RequestMapping(value = "${adminPath}/qd/qrcode")
public class QrCodeController extends BaseController {
	
	@RequestMapping(value = "")
	public void qrcode(){
		try {
			@SuppressWarnings("unused")
			String url = QrCodeUtils.getCode("11", 300, 300, "11.png");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
}